package com.zzl.finance.data.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 金融机构
 *
 * @author wztsl
 * @date 2021-12-22 16:56:38
 */
@Data
@ApidocModel
public class FinanceInstitutyUpdateDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "主键")
    private Integer id;
    @ApidocModelProperty(description = "机构名称")
    private String instinctyName;
    @ApidocModelProperty(description = "机构代码")
    private String institutyCode;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApidocModelProperty(description = "创建人")
    private Integer creatorId;
    @ApidocModelProperty(description = "类型0,银行，1.类金融机构")
    private Integer type;
    @ApidocModelProperty(description = "排序字段")
    private Integer sort;
    @ApidocModelProperty(description = "is_delete")
    private Integer isDeleted;
    @ApidocModelProperty(description = "金融机构头像，base64格式")
    private String avatar;
    @ApidocModelProperty(description = "金融机构样式")
    private String itemStyle;
}
